package com.zhang.gulimall.seckill.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class SeckillSkuRelationVo {
    /**
     * id
     */
    @TableId
    private String id;
    /**
     * 活动id
     */
    private String promotionId;
    /**
     * 活动场次id
     */
    private String promotionSessionId;
    /**
     * 商品id
     */
    private String skuId;
    /**
     * 秒杀价格
     */
    private BigDecimal seckillPrice;
    /**
     * 秒杀总量
     */
    private Integer seckillCount;
    /**
     * 每人限购数量
     */
    private Integer seckillLimit;
    /**
     * 排序
     */
    private Integer seckillSort;

    private SkuInfoVo skuInfoVo;

    private Date startTime;
    private Date endTime;

    private String randomCode;

}
